package com.lifesting.front;

import com.sun.facelets.FaceletContext;
import com.sun.facelets.tag.MetaRuleset;
import com.sun.facelets.tag.jsf.ComponentConfig;
import com.sun.facelets.tag.jsf.html.HtmlComponentHandler;

public class RnsHandler extends HtmlComponentHandler {

	public RnsHandler(ComponentConfig config) {
		super(config);
	}
	@Override
	protected void setAttributes(FaceletContext ctx, Object instance) {
		super.setAttributes(ctx, instance);
	}
	@Override
	protected MetaRuleset createMetaRuleset(Class type) {
		MetaRuleset rule_set = super.createMetaRuleset(type);
		rule_set.addRule(new RnsRule());
		return rule_set;
	}

}
